package ma.ensao.evalmetrics.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import java.util.Date;
//Mapping de la table result et le bean result
@Entity
@Table(name = "result")
public class Result {
	private static final long serialVersionUID = -8767337896773261247L;

	private Long id;
	private double MPF;
	private double cyclo;
	private double dit;
	private double NOC;
	private double LOC;
	private double CLOC;
	private double NOM;
	private double POF;
	private double MHF;
	private double MSF;
	private double NPM;
	private double AHF;
	private double RFC;
	private double APF;
	private double Abs;
	private double MPC;
	private double TCC;
	private double I;
	private double D;
    private double NOI;
    private double ce;
    private double ca;
	private java.util.Date date = new java.util.Date();
	private Long idProjet;
	private double classes;
	

	
	 @Column(name = "NOI")
     public double getNOI() {
             return NOI;
     }

     public void setNOI(double nOI) {
             NOI = nOI;
     }
	@Id
	@GeneratedValue
	@Column(nullable=true, name = "id")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(nullable=true, name = "MPF")
	public double getMPF() {
		return MPF;
	}

	public void setMPF(double mPF) {
		MPF = mPF;
	}

	@Column(nullable=true, name = "NOC")
	public double getNOC() {
		return NOC;
	}

	public void setNOC(double nOC) {
		NOC = nOC;
	}

	@Column(nullable=true, name = "LOC")
	public double getLOC() {
		return LOC;
	}

	public void setLOC(double lOC) {
		LOC = lOC;
	}

	@Column(nullable=true, name = "CLOC")
	public double getCLOC() {
		return CLOC;
	}

	public void setCLOC(double cLOC) {
		CLOC = cLOC;
	}

	@Column(nullable=true, name = "NOM")
	public double getNOM() {
		return NOM;
	}

	public void setNOM(double nOM) {
		NOM = nOM;
	}

	@Column(nullable=true, name = "POF")
	public double getPOF() {
		return POF;
	}

	public void setPOF(double pOF) {
		POF = pOF;
	}

	@Column(nullable=true, name = "MHF")
	public double getMHF() {
		return MHF;
	}

	public void setMHF(double mHF) {
		MHF = mHF;
	}

	@Column(nullable=true, name = "AHF")
	public double getAHF() {
		return AHF;
	}

	public void setAHF(double aHF) {
		AHF = aHF;
	}

	@Column(nullable=true, name = "RFC")
	public double getRFC() {
		return RFC;
	}

	public void setRFC(double rFC) {
		RFC = rFC;
	}

	@Column(nullable=true, name = "APF")
	public double getAPF() {
		return APF;
	}

	public void setAPF(double aPF) {
		APF = aPF;
	}

	public double getCyclo() {
		return cyclo;
	}

	@Column(nullable=true, name = "Cyclo")
	public void setCyclo(double cyclo) {
		this.cyclo = cyclo;
	}

	public double getAbs() {
		return Abs;
	}

	@Column(nullable=true, name = "Abstraction")
	public void setAbs(double abs) {
		Abs = abs;
	}

	public double getMPC() {
		return MPC;
	}

	@Column(nullable=true, name = "MPC")
	public void setMPC(double mPC) {
		MPC = mPC;
	}

	public double getTCC() {
		return TCC;
	}

	@Column(nullable=true, name = "TCC")
	public void setTCC(double tCC) {
		TCC = tCC;
	}

	public Date getDate() {
		return date;
	}

	@Column(nullable=true, name = "Date")
	public void setDate(Date date) {
		this.date = date;
	}

	@Column(nullable=true, name = "idProjet")
	public Long getIdProjet() {
		return idProjet;
	}

	public void setIdProjet(Long idProjet) {
		this.idProjet = idProjet;
	}
	@Column(nullable=true, name = "I")
	public double getI() {
		return I;
	}

	
	public void setI(double i) {
		I = i;
	}
	@Column(nullable=true, name = "D")
	public double getD() {
		return D;
	}

	
	public void setD(double d) {
		D = d;
	}
	@Column(nullable=true, name = "MSF")
	public double getMSF() {
		return MSF;
	}
	
	public void setMSF(double mSF) {
		MSF = mSF;
	}
	@Column(nullable=true, name = "NPM")
	public double getNPM() {
		return NPM;
	}

	public void setNPM(double nPM) {
		NPM = nPM;
	}
	
	@Column(nullable=true, name = "dit")
	public double getDit() {
		return dit;
	}

	public void setDit(double dit) {
		this.dit = dit;
	}
	
	@Column(nullable=true, name = "ce")
	public double getCe() {
		return ce;
	}
	
	public void setCe(double ce) {
		this.ce = ce;
	}
	
	@Column(nullable=true, name = "ca")
	public double getCa() {
		return ca;
	}

	public void setCa(double ca) {
		this.ca = ca;
	}
	
	@Column(nullable=true, name = "classes")
	public double getClasses() {
		return classes;
	}

	public void setClasses(double classes) {
		this.classes = classes;
	}
	
	
	
}